<?php use_helper('I18N', 'Date') ?>
<?php include_partial('course_faculty/assets') ?>

<div id="sf_admin_container">
  <?php $faculty_name = $sf_user->getFromFilters('faculty_name') ?>
  <h1><?php echo __('Courses for the faculty of %%faculty_name%%', array('%%faculty_name%%'=>$faculty_name), 'messages') ?></h1>

  <?php include_partial('course_faculty/flashes') ?>

  <div id="sf_admin_header">
    <?php include_partial('course_faculty/list_header', array('pager' => $pager)) ?>
  </div>

  <div id="sf_admin_bar">
    <?php include_partial('course_faculty/filters', array('form' => $filters, 'configuration' => $configuration)) ?>
  </div>

  <div id="sf_admin_content">
    <form action="<?php echo url_for('course_faculty_collection', array('action' => 'batch')) ?>" method="post">
    <?php include_partial('course_faculty/list', array('pager' => $pager, 'sort' => $sort, 'helper' => $helper)) ?>
    <ul class="sf_admin_actions">
      <?php include_partial('course_faculty/list_batch_actions', array('helper' => $helper)) ?>
      <?php include_partial('course_faculty/list_actions', array('helper' => $helper)) ?>
    </ul>
    </form>
  </div>

  <div id="sf_admin_footer">
    <?php include_partial('course_faculty/list_footer', array('pager' => $pager)) ?>
  </div>
</div>

<script type="text/javascript">
    jQuery('.sf_admin_action_managedoseyeh a').each(function(k,v){
	jQuery(v).click(function(){
            window.open(this.href,"edit doseyeh","width=700,height=500");
            return false;
        });
    });
</script>
    
    